package com.home.cop.employee.mapper;

import com.home.cop.employee.model.Department;

import java.util.List;
import java.util.Map;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Integer deptId);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer deptId);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    public List<Department> getAllDepts();

    public List<Department> list(Map<String,Object> params);
}